<%@ page import="cn.gudian.cms.System.Sys; cn.gudian.cms.utils.DateUtil" %>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
   <meta name="layout" content="style"/>
  <title>${Sys.getValue("SITE_NAME")} - 关于我们</title>
      %{--关键词--}%
  <gd:head/>
    <script type="text/javascript" src="/js/jquery.min.js"></script>
  <script type="text/javascript" src="/js/jquery.lazyload.mini.js"></script>
   <script>
    $(document).ready(function() {
     $("img").lazyload();
    });
  </script>
  <script src="/scripts/swfobject_modified.js" type="text/javascript"></script>
  <script language="JavaScript" type="text/javascript">
    function check() {
      if (document.getElementById("name").value == "请输入姓名" || document.getElementById("name").value == "") {
        alert("名称不能为空");
        return false
      }
      if (document.getElementById("content").value == "请输入详细内容" || document.getElementById("content").value == "") {
        alert("内容不能为空");
        return false
      }

    }
  </script>
</head>
<body>
<div style="display: none;">${Sys.getValue("SITE_KEYWORDS")}</div>
<div class="index">
  <!-- header -->
  <!-- header -->
   <g:render template="/cTemplate/menu" model="['now':5]" />
  <!-- banner -->
  <div>
    <div style="background-image: url(/images/blog-bj.jpg);background-color: #950001;">
      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="900" height="310" id="FlashID" title="欢迎光临古滇科技官方博客">
        <param name="movie" value="/flash/blog.swf"/>
        <param name="quality" value="high"/>
        <param name="wmode" value="transparent"/>
        <param name="swfversion" value="6.0.65.0"/>
        <!-- 此 param 标签提示使用 Flash Player 6.0 r65 和更高版本的用户下载最新版本的 Flash Player。如果您不想让用户看到该提示，请将其删除。 -->
        <param name="expressinstall" value="/Scripts/expressInstall.swf"/>
        <!-- 下一个对象标签用于非 IE 浏览器。所以使用 IECC 将其从 IE 隐藏。 -->
        <!--[if !IE]>-->
        <object type="application/x-shockwave-flash" data="/flash/blog.swf" width="900" height="310">
          <!--<![endif]-->
          <param name="quality" value="high"/>
          <param name="wmode" value="transparent"/>
          <param name="swfversion" value="6.0.65.0"/>
          <param name="expressinstall" value="/Scripts/expressInstall.swf"/>
          <!-- 浏览器将以下替代内容显示给使用 Flash Player 6.0 和更低版本的用户。 -->
          <div>
            <h4>此页面上的内容需要较新版本的 Adobe Flash Player。</h4>
            <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="获取 Adobe Flash Player" width="112" height="33"/></a></p>
          </div>
          <!--[if !IE]>-->
        </object>
        <!--<![endif]-->
      </object>
    </div>
  </div>
  <!-- indexMain -->

  <div class="indexMain">

    <!--/*正文显示开始*/-->
    <div class="blogList">
      <div class="classification">分类
        <hr/>
        <gd:arcTypeShow mode="Article" nowID="${articleInstance.arcType?.id}" path="/c/blog"></gd:arcTypeShow>
        <br>

        链接
        <hr/>
        <ul>
          <li></li>

        </ul>
      </div>

      <div class="news">
        <h3 class="h3-a1"><a href="/c/blogShow/${articleInstance?.id}">${articleInstance?.title}</a></h3>
        <h4 class="h4-a1">时间：${DateUtil.dateToString(articleInstance?.pubdate)}&nbsp;&nbsp;&nbsp;&nbsp;作者：${articleInstance?.writer}&nbsp;&nbsp;&nbsp;&nbsp;访问量：<script type="text/javascript" src="/stat?mode=Article&modeID=${articleInstance?.id}"></script></h4>
        ${articleInstance?.body}


        <br/>
        <br/>
        <div class="comment">
          <g:each in="${commentInstanceList}" status="i" var="commentInstance">
            <div class="text">
              <ul class="ul-a1">
                <li class="li-a2">${commentInstance?.name}说：${commentInstance?.content}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${DateUtil.dateToString(commentInstance?.subTime, "yyyy-MM-dd")}</li>
                <g:if test="${commentInstance.reContet}"><li class="li-a1">古滇回复：${commentInstance?.reContet}&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;${DateUtil.dateToString(commentInstance?.reTime, "yyyy-MM-dd")}</li></g:if>
              </ul>
            </div>
          </g:each>
          <div class="next-text"><g:paginate total="${commentInstanceTotal}" maxsteps="1"/></div>
          <form action="/comment/save" method="post" onSubmit="return check();"><a name="sendComment"></a>
            <input name="name" type="text" id="name" value="请输入姓名" class="input-name" onFocus="if (this.value == '请输入姓名')this.value = ''" onBlur="if (this.value == '')this.value = '请输入姓名'"/> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<input name="contact" type="text" id="contact" value="请输入联系方式" class="input-name" onFocus="if (this.value == '请输入联系方式')this.value = ''" onBlur="if (this.value == '')this.value = '请输入联系方式'"/>&nbsp;&nbsp;&nbsp;&nbsp;<font color="red">${flash.message}</font><br/> <textarea name="content" id="content" class="input-Content" cols="97" rows="5" onFocus="if (this.value == '请输入详细内容')this.value = ''" onBlur="if (this.value == '')this.value = '请输入详细内容'">请输入详细内容</textarea>
            &nbsp;&nbsp;&nbsp;&nbsp;  &nbsp;&nbsp;<input type="image" src="/images/fasong.jpg" alt="提交评论"/><br/><br/>    <input type="hidden" name="reName" id="reName" value=""/>
            <input type="hidden" name="reContet" id="reContet" value=""/> <input type="hidden" name="mode" id="mode" value="Article"/> <input type="hidden" name="modeID" id="modeID" value="${articleInstance?.id}"/></form>

        </div>
      </div>

    </div>
  </div>
  <gd:arcTypeShow showAll="true"></gd:arcTypeShow>
  <script type="text/javascript">
    <!--
    swfobject.registerObject("FlashID");
    //-->
  </script>
  <!-- footer -->
  <g:render template="/cTemplate/foot"/>
</div>
</body>
</html>